from app.project.doc_to_recommendation.utils.paths import DEFAULT_PATH
from app.project.doc_to_recommendation.utils.log_utils import get_logger
import os

logger = get_logger("path_init")

for name, path in DEFAULT_PATH.items():
    if not os.path.exists(path):
        logger.info(f"path_name:{name};path:{path} does not exist, do mkdir")
        os.makedirs(path)